package com.gateway.utils;

import lombok.Data;

import java.util.Arrays;

/**
 * @author : HUANG
 * @create : 2025/6/2 16:41
 * @function :
 */
@Data
public class UserInfoDto {
    private Integer userId;
    private String username;
    private String password;
    private String permissions;
    private Integer[] roles;
    private String[] rolesPermissions;

    @Override
    public String toString() {
        return "UserInfoDto{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", permissions='" + permissions + '\'' +
                ", rolesPermissions=" + Arrays.toString(rolesPermissions) +
                '}';
    }
}
